obj-m := driver.o

EXTRA_CFLAGS += -I$(src)/../common

KDIR := /lib/modules/$(shell uname -r)/build/

all: modules

modules:
	$(MAKE) -C $(KDIR) M=$(shell pwd) modules

clean: 
	$(MAKE) -C $(KDIR) M=$(shell pwd) clean
	-rm Module.markers
	-rm modules.order
